<template>
  <div>
    <el-row type="flex" justify="space-around" align="middle">
      <el-col>
        <div v-if="beforShow" class="before">
          <i class="el-icon-info" />
          <slot name="before" />
        </div>
      </el-col>
      <el-col>
        <el-row type="flex" justify="end">
          <slot name="after" />
        </el-row>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: 'PageTools',
  components: {},
  props: {
    beforShow: {
      type: Boolean,
      default: false
    }
  },
  data() {
    return {}
  },
  computed: {},
  watch: {},
  created() {},
  methods: {}
}
</script>

<style lang="less" scoped>
</style>
